package exception;

import java.io.FileNotFoundException;
import java.io.FileReader;

public class ErrorMain {
	
	public static void main(String[] args) {
//		try {
//			FileReader fr = new FileReader("ErrorMain.java");
//			System.out.println("EXCEPTION 직후");
//		} catch (FileNotFoundException e) {
//			e.printStackTrace();
//		} finally {
//			System.out.println("END");
//		}
		try {
			String s = null;
			System.out.println(s.length());
		} catch (NullPointerException e) {
			
		}
	}
	
}
